export enum BaseApi {
  BaseUrl = import.meta.env.VITE_API_BASE_URL,
  UploadImage = "api/File/UploadImage"
}

export interface ResponseData {
  records: any;
  code: number;
  count: number;
  msg: string;
  etTime: any;
  stTime: any;
  data: any;
  datab: any;
  success: boolean;
}

export interface ActionProps {
  addCode: string;
  deleteCode: string;
  updateCode: string;
  queryCode: string;
  importCode: string;
  exportCode: string;
  downImportCode: string;
  reductionCode: string;
  recyclebinCode: string;
  show?: boolean;
}

export enum StorageEnum {
  UserMenuList = "userMenuList",
  UserInfo = "userInfo",
  UserToken = "userToken",
  Settings = "settings",
  I18N = "i18nextLng",
  NeedUpdatePwd = "needUpdatePwd",
  DocumentTitle = "documentTitle",
  MenuAuth = "menuAuth"
}
export interface CommonSearchFile {
  span: number;
  md: number;
  lg: number;
  name: string;
  placeholder: string;
  type: string;
  allowClear: boolean;
  selectlist?: any[];
}

export interface MenuAuth {
  menuCode: string;
  menuName: string;
}

export interface BaseInfo {
  Id: string;
  status: number;
  cTime: string;
  uTime: string;
  Remark: string;
  createuser: string;
  modifyuser: string;
}
